import Vue from 'vue';

export const chat_ready = (params) => {
    return Vue.prototype.$u.get('chat/ready', params);
};

export const chat_list = (params) => {
    return Vue.prototype.$u.get('chat/list', params);
};

export const offline_msg = (params) => {
    return Vue.prototype.$u.post('chat/msg', params);
};

export const conversations = (params) => {
    return Vue.prototype.$u.get('chat/conversations', params);
};
